<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8"/>
    <title>用户管理</title>
    <meta content="webkit" name="renderer"/>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible"/>
    <meta
            content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"
            name="viewport"
    />
    <link href="../js/layui/css/layui.css" media="all" rel="stylesheet"/>
    <link href="../style/admin.css" media="all" rel="stylesheet"/>
    <link href="../style/home.css" media="all" rel="stylesheet"/>
    <script src="../js/layui/layui.js"></script>
    <style type="text/css">
        .layui-input {
            height: 30px;
            font-size: 14px;
        }

        .layui-form-select dl dd {
            font-size: 14px;
        }

        .layui-form-select dl dd.layui-this {
            background-color: #f8f8f8;
            color: #000000;
            font-weight: 600;
        }
    </style>
</head>
<body layadmin-themealias="default">
<div class="layui-card" style="height: 100%">
    <div class="layui-card-header font20">
        <div class="layui-title">用户管理</div>
        <div class="layui-layout-right" style="margin-right: 10px">
            <button class="layui-btn layui-btn-normal layui-btn-sm"
                    lay-event="newUser" type="button">
                <i class="layui-icon layui-icon-file"></i>新增用户
            </button>
        </div>
    </div>
    <div class="layui-card-body">
        <table id="dataTable" lay-filter="dataTable"></table>
    </div>
</div>

<script id="operationBar" type="text/html">
    <a lay-filter="edit" href="#" lay-event="edit"><i class="layui-icon layui-icon-edit p3" title="编辑"></i></a>
    <a lay-filter="del" href="#" lay-event="del"><i class="layui-icon layui-icon-delete p3" title="删除"></i></a>
    {{#  if (d.enabled=='0') { }}
    <a lay-filter="activated" href="#" lay-event="activated">
        <i class="layui-icon layui-icon-auz p3" title="激活"></i>
    </a>
    {{# } else if (d.enabled=='1') { }}
    <a lay-filter="disabled" href="#" lay-event="disabled">
        <i class="layui-icon layui-icon-disabled p3" title="禁用"></i>
    </a>
    {{# } }}
    <a lay-filter="restPwd" href="#" lay-event="restPwd">
        <i class="layui-icon layui-icon-key p3" title="重置密码"></i>
    </a>
    <a lay-filter="userRole" href="#" lay-event="userRole">
        <i class="layui-icon layui-icon-user p3" title="设置用户角色"></i>
    </a>
    <a lay-filter="userTask" href="#" lay-event="userTask">
        <i class="layui-icon layui-icon-note p3" title="设置任务"></i>
    </a>
    <a lay-filter="userWorkProcedure" href="#" lay-event="userWorkProcedure">
        <i class="layui-icon layui-icon-share p3" title="设置工序"></i>
    </a>
</script>
<script type="text/html" id="enabledTpl">
    {{#  if (d.enabled=='1') { }}
    <i class="layui-icon layui-icon-ok"></i>
    {{# } }}
</script>


<script type="text/javascript" src="../js/lib/common.js"></script>
<script type="text/javascript" src="../js/lib/watermark.js"></script>
<script>
    loadScript("../js/modules/systemManage/userInfo.js");
</script>
</body>
</html>
